[INFO] cloning repository https://github.com/douaumont/sap-1_emu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/douaumont/sap-1_emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdouaumont%2Fsap-1_emu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdouaumont%2Fsap-1_emu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ec4f8785d925b4f9b480460879070c6e3f325263
[INFO] checking douaumont/sap-1_emu against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdouaumont%2Fsap-1_emu" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/douaumont/sap-1_emu
[INFO] finished tweaking git repo https://github.com/douaumont/sap-1_emu
[INFO] tweaked toml for git repo https://github.com/douaumont/sap-1_emu written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/douaumont/sap-1_emu on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/douaumont/sap-1_emu already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dde6a0b63bc100c08202065f910fc06464e4c7eaaf23b3bdd6323948d3568f04
[INFO] running `Command { std: "docker" "start" "-a" "dde6a0b63bc100c08202065f910fc06464e4c7eaaf23b3bdd6323948d3568f04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dde6a0b63bc100c08202065f910fc06464e4c7eaaf23b3bdd6323948d3568f04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dde6a0b63bc100c08202065f910fc06464e4c7eaaf23b3bdd6323948d3568f04", kill_on_drop: false }`
[INFO] [stdout] dde6a0b63bc100c08202065f910fc06464e4c7eaaf23b3bdd6323948d3568f04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d13776cfd35d926a3f76fcb429dd69afa15230f469830b08bc8299386a66934
[INFO] running `Command { std: "docker" "start" "-a" "8d13776cfd35d926a3f76fcb429dd69afa15230f469830b08bc8299386a66934", kill_on_drop: false }`
[INFO] [stderr]     Checking sap-1_emu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `processing_unit::ProcessingUnit`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use processing_unit::ProcessingUnit;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `processing_unit::ProcessingUnit`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use processing_unit::ProcessingUnit;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Register` is never constructed
[INFO] [stdout]   --> src/register.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Register {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `set`, `read`, and `new` are never used
[INFO] [stdout]   --> src/register.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Register {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 25 |     /// Set the content of the register
[INFO] [stdout] 26 |     pub fn set(&mut self, new_content: u8) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn read(&self) -> u8 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn new() -> Register {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Databus` is never constructed
[INFO] [stdout]   --> src/databus.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Databus {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `write`, `read`, `read_with_reset`, and `new` are never used
[INFO] [stdout]   --> src/databus.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Databus {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 26 |     /// Write new state to databus
[INFO] [stdout] 27 |     pub fn write(&mut self, new_state: u8) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn read(&self) -> u8 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn read_with_reset(&mut self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn new() -> Databus {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Memory` is never used
[INFO] [stdout]   --> src/processing_unit.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | type Memory = [u8; MEMORY_SIZE];
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SimpleOperation` is never used
[INFO] [stdout]   --> src/processing_unit.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 | type SimpleOperation = fn(&mut ProcessingUnit);
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ControlWord` is never used
[INFO] [stdout]   --> src/processing_unit.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | type ControlWord = Vec<SimpleOperation>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Instruction` is never used
[INFO] [stdout]   --> src/processing_unit.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 | type Instruction = Vec<ControlWord>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLOCK_PERIOD` is never used
[INFO] [stdout]   --> src/processing_unit.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const CLOCK_PERIOD: Duration = std::time::Duration::from_millis(2);
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Opcode` is never used
[INFO] [stdout]   --> src/processing_unit.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Opcode {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProcessingUnit` is never constructed
[INFO] [stdout]   --> src/processing_unit.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct ProcessingUnit {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ARRAY_REPEAT_VALUE` is never used
[INFO] [stdout]   --> src/processing_unit.rs:62:7
[INFO] [stdout]    |
[INFO] [stdout] 62 | const ARRAY_REPEAT_VALUE: Vec<Vec<for<'a> fn(&'a mut ProcessingUnit)>> = Instruction::new();
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/processing_unit.rs:65:8
[INFO] [stdout]     |
[INFO] [stdout] 64  | impl ProcessingUnit {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 65  |     fn halt_clock(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70  |     fn memory_address_register_in(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75  |     fn memory_out(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80  |     fn memory_in(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86  |     fn instruction_data_out(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92  |     fn instruction_register_in(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     fn a_reg_out(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn a_reg_in(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn alu_out(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn alu_subtract(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn b_reg_in(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn output_latch(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn increment_program_counter(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     fn program_counter_out(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn jump(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn store_flags(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     fn delay() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     fn fetch(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn first_fetch_cycle(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     fn second_fetch_cycle(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     fn construct_instruction_table() -> [Instruction; 16] {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub fn load_memory(&mut self, memory: Memory) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn new() -> ProcessingUnit {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MEMORY_SIZE` is never used
[INFO] [stdout]   --> src/program_counter.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const MEMORY_SIZE: usize = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProgramCounter` is never constructed
[INFO] [stdout]   --> src/program_counter.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct ProgramCounter {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `read`, `set`, `advance`, and `new` are never used
[INFO] [stdout]   --> src/program_counter.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl ProgramCounter {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 26 |     /// Read current value of program counter
[INFO] [stdout] 27 |     pub fn read(&self) -> u8 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn set(&mut self, new_value: u8) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn advance(&mut self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn new() -> ProgramCounter {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArithmeticLogicUnit` is never constructed
[INFO] [stdout]   --> src/arithmetic_logic_unit.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ArithmeticLogicUnit {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `set_subtract`, `reset_subtract`, `get_result`, and `new` are never used
[INFO] [stdout]   --> src/arithmetic_logic_unit.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl ArithmeticLogicUnit {
[INFO] [stdout]    | ------------------------ associated items in this implementation
[INFO] [stdout] 26 |     pub fn set_subtract(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn reset_subtract(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_result(&mut self, lhs: u8, mut rhs: u8) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn new() -> ArithmeticLogicUnit {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `JC`, `JZ`, and `OUT` are never constructed
[INFO] [stdout]   --> src/processing_unit.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Opcode {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 43 |     JC,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 44 |     JZ,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 45 |     OUT = 0xE,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `output_latch` and `load_memory` are never used
[INFO] [stdout]    --> src/processing_unit.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 64  | impl ProcessingUnit {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn output_latch(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub fn load_memory(&mut self, memory: Memory) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] running `Command { std: "docker" "inspect" "8d13776cfd35d926a3f76fcb429dd69afa15230f469830b08bc8299386a66934", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d13776cfd35d926a3f76fcb429dd69afa15230f469830b08bc8299386a66934", kill_on_drop: false }`
[INFO] [stdout] 8d13776cfd35d926a3f76fcb429dd69afa15230f469830b08bc8299386a66934
